<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8"/>
    <title>Spring MVC + Thymeleaf Example</title>
</head>
<body>
<!-- Project ContextPath -->
<input type="hidden" id="ctx" th:value="${application.ctx}"/> Hello,
<br/> ContextPath,
<span th:text="${session.ctpath}"/>!
<br/> Hello,
<span th:text="${test}"/>!
<br/> session,
<span th:text="${session.sessiontest}"/>!
<form th:action="@{/submit}">
    <input type="text" name="name"/>
    <button type="submit">submit</button>
</form>
</body>
</html>